home *** CD-ROM | disk | FTP | other *** search
- Path: news.bridge.net!news
- From: David Byrden <100101.2547@compuserve.com>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: Performance: C vs. C++
- Date: 14 Jan 1996 07:02:15 GMT
- Organization: self-employed
- Message-ID: <4da9pn$a45@news.bridge.net>
- References: <30F6BAAC.12B5@iastate.edu>
- NNTP-Posting-Host: ppp-mia2-95.bridge.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
-
- Steve;
-
- C and C++ are so similar that I would expect similar code to produce
- almost identical performance. However, note that while virtual functions
- cause overhead when you use them, exceptions in most present compilers can
- cause overhead *at every function call*.
-
- David
-
-
-